package com.yunxi.sto.service;

import com.github.pagehelper.PageInfo;
import com.yunxi.sto.pojo.*;

import java.lang.reflect.InvocationTargetException;
import java.util.ArrayList;
import java.util.List;

public class StoTransportPlanDubboServiceMock implements StoTransportPlanDubboService {
    @Override
    public StoTransportPlanVO getById(String id) throws InvocationTargetException, IllegalAccessException {
        StoTransportPlanVO vo = new  StoTransportPlanVO();
        vo.setTransportPlanNo("暂无数据");
        return null;
    }

    @Override
    public void saveOrUpdate(StoTransportPlanVO stoTransportPlanVO) throws InvocationTargetException, IllegalAccessException {

    }

    @Override
    public void removeById(List<String> list) throws Exception {

    }

    @Override
    public void route(String transportPlanId, String routeCode) throws Exception {

    }

    @Override
    public List carrierList(String routeCode) {
        List  list =  new ArrayList();
        StoCarrierVO vo =  new StoCarrierVO();
        vo.setCarrierName("暂无数据");
        list.add(vo);
        return list;
    }

    @Override
    public void carrier(String transportPlanId, String carrierCode) throws Exception {

    }

    @Override
    public PageInfo<StoTransportPlanResVO> findPageByVO(StoTransportPlanQueryVO stoTransportPlanQueryVO, Integer pageNum, Integer pageSize) throws InvocationTargetException, IllegalAccessException {
        PageInfo<StoTransportPlanResVO> page =  new   PageInfo<StoTransportPlanResVO>();
        List  list  =  new ArrayList();
        StoTransportPlanResVO vo =  new StoTransportPlanResVO();
        vo.setTransportPlanNo("暂无数据");
        list.add(vo);
        page.setList(list);
        return page;

    }

    @Override
    public Boolean checkTransportPlanIsSend(String vin) throws Exception {
        return null;
    }

    @Override
    public Boolean cancelTransportPlanByVin(String vin) throws Exception {
        return null;
    }

    @Override
    public void pickVehicle(StoTransportPlanPickVO stoTransportPlanPickVO) throws Exception {

    }
}
